let native = {}
let platform = cc.sys.platform

switch (platform) {
    case cc.sys.ANDROID:
      native = require('android');
      break;
    case cc.sys.IPHONE:
      native = require('ios');
      break;
    default:
      native = require('other');
      break;
}

native.platform = platform

module.exports = native
